package com.mall.db.api;

import com.mall.db.mapper.PmsProductCategoryAttributeRelationMapper;
import com.mall.pojo.PmsProductCategoryAttributeRelation;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

@DubboService
public class PmsProductCategoryAttributeRelationApiAmpl implements PmsProductCategoryAttributeRelationApi {

    @Autowired
    private PmsProductCategoryAttributeRelationMapper pmsProductCategoryAttributeRelationMapper;

    //根据商品分类的id获取商品属性及属性分类
    @Override
    public PmsProductCategoryAttributeRelation selectById(Integer id) {
        return pmsProductCategoryAttributeRelationMapper.selectById(id);
    }
}
